[INFO] cloning repository https://github.com/kempchee/piston-snake
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kempchee/piston-snake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2Fpiston-snake", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2Fpiston-snake'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7530eecc0da59f870d1febdeac50bcf0824c1d7d
[INFO] checking kempchee/piston-snake against try#72f88fc4e9458f89516a0b8b0868f3718aec5b47 for pr-74989
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkempchee%2Fpiston-snake" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kempchee/piston-snake on toolchain 72f88fc4e9458f89516a0b8b0868f3718aec5b47
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kempchee/piston-snake
[INFO] finished tweaking git repo https://github.com/kempchee/piston-snake
[INFO] tweaked toml for git repo https://github.com/kempchee/piston-snake written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/kempchee/piston-snake already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded piston2d-opengl_graphics v0.74.0
[INFO] [stderr]   Downloaded conrod v0.62.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] b9c2fdd6257f0f0ba5815de7c15c53652a87c6bd11e199d4dee9e1d9957801a2
[INFO] running `Command { std: "docker" "start" "-a" "b9c2fdd6257f0f0ba5815de7c15c53652a87c6bd11e199d4dee9e1d9957801a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b9c2fdd6257f0f0ba5815de7c15c53652a87c6bd11e199d4dee9e1d9957801a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b9c2fdd6257f0f0ba5815de7c15c53652a87c6bd11e199d4dee9e1d9957801a2", kill_on_drop: false }`
[INFO] [stdout] b9c2fdd6257f0f0ba5815de7c15c53652a87c6bd11e199d4dee9e1d9957801a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+72f88fc4e9458f89516a0b8b0868f3718aec5b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] bb7e81fca56dedbccc8fd20fbb54cd1c7f7f163bac208f26e3bce609a934ed6e
[INFO] running `Command { std: "docker" "start" "-a" "bb7e81fca56dedbccc8fd20fbb54cd1c7f7f163bac208f26e3bce609a934ed6e", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling xml-rs v0.8.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.21
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling syn v1.0.41
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling typenum v1.12.0
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]     Checking piston-float v1.0.0
[INFO] [stderr]    Compiling getrandom v0.1.15
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling pkg-config v0.3.18
[INFO] [stderr]    Compiling rayon-core v1.8.0
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]     Checking downcast-rs v1.2.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]     Checking tinyvec v0.3.4
[INFO] [stderr]     Checking subtle v2.3.0
[INFO] [stderr]     Checking piston-graphics_api_version v1.0.0
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking xdg v2.2.0
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]     Checking cpuid-bool v0.1.2
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking either v1.6.0
[INFO] [stderr]     Checking instant v0.1.6
[INFO] [stderr]     Checking fallible-iterator v0.2.0
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking smallvec v1.4.2
[INFO] [stderr]     Checking pin-project-lite v0.1.7
[INFO] [stderr]     Checking siphasher v0.3.3
[INFO] [stderr]    Compiling const_fn v0.4.2
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking interpolation v0.2.0
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking piston-texture v0.8.0
[INFO] [stderr]     Checking read_color v1.0.0
[INFO] [stderr]     Checking piston-shaders_graphics2d v0.3.1
[INFO] [stderr]     Checking conrod v0.62.1
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling rayon v1.4.0
[INFO] [stderr]    Compiling num-iter v0.1.41
[INFO] [stderr]    Compiling num-rational v0.3.0
[INFO] [stderr]     Checking lock_api v0.3.4
[INFO] [stderr]     Checking lock_api v0.4.1
[INFO] [stderr]     Checking piston-viewport v1.0.0
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]     Checking walkdir v2.3.1
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]    Compiling generic-array v0.14.4
[INFO] [stderr]    Compiling standback v0.2.10
[INFO] [stderr]    Compiling time v0.2.19
[INFO] [stderr]     Checking shader_version v0.7.0
[INFO] [stderr]     Checking unicode-normalization v0.1.13
[INFO] [stderr]     Checking phf_shared v0.8.0
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking libloading v0.6.3
[INFO] [stderr]    Compiling x11-dl v2.18.5
[INFO] [stderr]     Checking crc32fast v1.2.0
[INFO] [stderr]     Checking crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]     Checking smallvec v0.6.13
[INFO] [stderr]     Checking dlib v0.4.2
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.10.0
[INFO] [stderr]    Compiling wayland-scanner v0.21.13
[INFO] [stderr]     Checking wayland-sys v0.21.13
[INFO] [stderr]     Checking crossbeam-epoch v0.8.2
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]     Checking stb_truetype v0.3.1
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking tiff v0.5.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking net2 v0.2.35
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking memmap v0.7.0
[INFO] [stderr]     Checking parking_lot_core v0.8.0
[INFO] [stderr]     Checking raw-window-handle v0.3.3
[INFO] [stderr]     Checking shared_library v0.1.9
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking png v0.16.7
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking ordered-float v1.1.0
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking line_drawing v0.7.0
[INFO] [stderr]     Checking osmesa-sys v0.1.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking parking_lot v0.11.0
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]     Checking rusttype v0.8.3
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]     Checking hmac v0.8.1
[INFO] [stderr]     Checking sha2 v0.9.1
[INFO] [stderr]    Compiling gl v0.11.0
[INFO] [stderr]     Checking rusttype v0.7.9
[INFO] [stderr]     Checking piston2d-graphics v0.37.0
[INFO] [stderr]     Checking andrew v0.2.1
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]    Compiling wayland-client v0.21.13
[INFO] [stderr]    Compiling wayland-protocols v0.21.13
[INFO] [stderr]     Checking postgres-protocol v0.5.2
[INFO] [stderr]     Checking postgres-types v0.1.2
[INFO] [stderr]     Checking wayland-commons v0.21.13
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.20
[INFO] [stderr]     Checking image v0.23.9
[INFO] [stderr]    Compiling serde_derive v1.0.116
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling time-macros-impl v0.1.1
[INFO] [stderr]    Compiling async-trait v0.1.40
[INFO] [stderr]     Checking time-macros v0.1.0
[INFO] [stderr]     Checking smithay-client-toolkit v0.4.6
[INFO] [stderr]     Checking piston2d-opengl_graphics v0.74.0
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking winit v0.19.5
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking glutin v0.21.2
[INFO] [stderr]     Checking pistoncore-input v1.0.0
[INFO] [stderr]     Checking futures-executor v0.3.5
[INFO] [stderr]     Checking futures v0.3.5
[INFO] [stderr]     Checking tokio-postgres v0.5.5
[INFO] [stderr]     Checking pistoncore-window v0.47.0
[INFO] [stderr]     Checking pistoncore-event_loop v0.52.0
[INFO] [stderr]     Checking pistoncore-glutin_window v0.66.0
[INFO] [stderr]     Checking piston v0.52.0
[INFO] [stderr]     Checking postgres v0.17.5
[INFO] [stderr]     Checking first_piston v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `piston::event`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use piston::event::*;
[INFO] [stdout]    |             ^^^^^ could not find `event` in `piston`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stdout]   --> src/main.rs:15:27
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           no `IndependentSample` in `distributions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `conrod::Background`, `conrod::Button`, `conrod::CanvasId`, `conrod::DropDownList`, `conrod::Floating`, `conrod::Label`, `conrod::Labelable`, `conrod::Positionable`, `conrod::Sizeable`, `conrod::Theme`, `conrod::Ui`, `conrod::UiId`, `conrod::Widget`, `conrod::WidgetId`, `conrod::Split`
[INFO] [stdout]   --> src/main.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | ...::{Background, Button,CanvasId,DropDownList, Floating, Label, Labelable,Positionable, Sizeable, Theme, Ui,UiId, Widget,WidgetId,Split};
[INFO] [stdout]    |       ^^^^^^^^^^  ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^  ^^^^^^^^  ^^^^^  ^^^^^^^^^ ^^^^^^^^^^^^  ^^^^^^^^  ^^^^^  ^^ ^^^^  ^^^^^^ ^^^^^^^^ ^^^^^
[INFO] [stdout]    |       |           |      |        |             |         |      |         |             |         |
[INFO] [stdout]    |       |           |      |        |             |         |      |         |             |         no `Theme` in the root
[INFO] [stdout]    |       |           |      |        |             |         |      |         |             no `Sizeable` in the root
[INFO] [stdout]    |       |           |      |        |             |         |      |         no `Positionable` in the root
[INFO] [stdout]    |       |           |      |        |             |         |      no `Labelable` in the root
[INFO] [stdout]    |       |           |      |        |             |         no `Label` in the root
[INFO] [stdout]    |       |           |      |        |             no `Floating` in the root
[INFO] [stdout]    |       |           |      |        no `DropDownList` in the root
[INFO] [stdout]    |       |           |      no `CanvasId` in the root
[INFO] [stdout]    |       |           no `Button` in the root
[INFO] [stdout]    |       no `Background` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `conrod::color`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use conrod::color::*;
[INFO] [stdout]    |             ^^^^^ could not find `color` in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode`
[INFO] [stdout]   --> src/main.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 | use postgres::{Connection, SslMode};
[INFO] [stdout]    |                ^^^^^^^^^^  ^^^^^^^ no `SslMode` in the root
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `Connection` in the root
[INFO] [stdout]    |                help: a similar name exists in the module (notice the capitalization): `connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout]    --> src/main.rs:106:80
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn render(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>) {
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^ could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout]    --> src/main.rs:116:93
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn render_start_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                                                                             ^^^^^^^^^^^ could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `color` in `conrod`
[INFO] [stdout]    --> src/main.rs:152:40
[INFO] [stdout]     |
[INFO] [stdout] 152 |                         .color(conrod::color::red())
[INFO] [stdout]     |                                        ^^^^^ could not find `color` in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout]    --> src/main.rs:168:97
[INFO] [stdout]     |
[INFO] [stdout] 168 |     fn render_game_over_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                                                                                 ^^^^^^^^^^^ could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `color` in `conrod`
[INFO] [stdout]    --> src/main.rs:185:40
[INFO] [stdout]     |
[INFO] [stdout] 185 |                         .color(conrod::color::red())
[INFO] [stdout]     |                                        ^^^^^ could not find `color` in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Ui` in `conrod`
[INFO] [stdout]    --> src/main.rs:353:25
[INFO] [stdout]     |
[INFO] [stdout] 353 |     let ui=&mut conrod::Ui::new(opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap...
[INFO] [stdout]     |                         ^^ could not find `Ui` in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Theme` in `conrod`
[INFO] [stdout]    --> src/main.rs:353:149
[INFO] [stdout]     |
[INFO] [stdout] 353 | ...gothic-regular-webfont.ttf")).unwrap(),conrod::Theme::default());
[INFO] [stdout]     |                                                   ^^^^^ could not find `Theme` in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time`
[INFO] [stdout]   --> src/main.rs:28:31
[INFO] [stdout]    |
[INFO] [stdout] 28 |     last_auto_move_time:time::Tm,
[INFO] [stdout]    |                               ^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope
[INFO] [stdout]   --> src/main.rs:79:38
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn render_game(&mut self, args: &RenderArgs){
[INFO] [stdout]    |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 10 | use piston::RenderArgs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope
[INFO] [stdout]    --> src/main.rs:106:33
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn render(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>) {
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  | use piston::RenderArgs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ui` in crate `conrod`
[INFO] [stdout]    --> src/main.rs:106:60
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn render(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>) {
[INFO] [stdout]     |                                                            ^^ not found in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope
[INFO] [stdout]    --> src/main.rs:116:46
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn render_start_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  | use piston::RenderArgs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ui` in crate `conrod`
[INFO] [stdout]    --> src/main.rs:116:73
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn render_start_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                                                         ^^ not found in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout]    --> src/main.rs:124:56
[INFO] [stdout]     |
[INFO] [stdout] 124 |             let mut font=opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap();
[INFO] [stdout]     |                                                        ^^^^^^^^^^ not found in `opengl_graphics::glyph_cache`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 10  | use glyph_cache::rusttype::GlyphCache;
[INFO] [stdout]     |
[INFO] [stdout] 10  | use opengl_graphics::GlyphCache;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `light_green` in this scope
[INFO] [stdout]    --> src/main.rs:126:42
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 Split::new(HEADER).color(light_green()),
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `blue` in this scope
[INFO] [stdout]    --> src/main.rs:127:40
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 Split::new(BODY).color(blue()).length(window_dimension*0.75).pad_top(20.0),
[INFO] [stdout]     |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `grey` in this scope
[INFO] [stdout]    --> src/main.rs:134:24
[INFO] [stdout]     |
[INFO] [stdout] 134 |                 .color(grey())
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 10  | use color::grey;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `dark_orange` in this scope
[INFO] [stdout]    --> src/main.rs:137:50
[INFO] [stdout]     |
[INFO] [stdout] 137 |             Label::new("Welcome To Snake").color(dark_orange()).font_size(48).middle_of(HEADER).set(TITLE, ui);
[INFO] [stdout]     |                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `dark_orange` in this scope
[INFO] [stdout]    --> src/main.rs:149:44
[INFO] [stdout]     |
[INFO] [stdout] 149 | ...   Label::new("Difficulty").color(dark_orange()).font_size(24).middle_of(HEADER).mid_left_of(DROPDOWNCONTAINER).set(DROPDOWNLABEL, ui);
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:158:56
[INFO] [stdout]     |
[INFO] [stdout] 158 | ...                   *last_auto_move_time=time::now();
[INFO] [stdout]     |                                                  ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope
[INFO] [stdout]    --> src/main.rs:168:50
[INFO] [stdout]     |
[INFO] [stdout] 168 |     fn render_game_over_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  | use piston::RenderArgs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ui` in crate `conrod`
[INFO] [stdout]    --> src/main.rs:168:77
[INFO] [stdout]     |
[INFO] [stdout] 168 |     fn render_game_over_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                                                             ^^ not found in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `light_green` in this scope
[INFO] [stdout]    --> src/main.rs:180:42
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 Split::new(HEADER).color(light_green()),
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `blue` in this scope
[INFO] [stdout]    --> src/main.rs:181:40
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 Split::new(BODY).color(blue()).length(window_dimension*0.75).pad_top(20.0),
[INFO] [stdout]     |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `red` in this scope
[INFO] [stdout]    --> src/main.rs:183:43
[INFO] [stdout]     |
[INFO] [stdout] 183 |             Label::new("You Lose!").color(red()).font_size(48).middle_of(HEADER).set(TITLE, ui);
[INFO] [stdout]     |                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:192:56
[INFO] [stdout]     |
[INFO] [stdout] 192 | ...                   *last_auto_move_time=time::now();
[INFO] [stdout]     |                                                  ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:215:56
[INFO] [stdout]     |
[INFO] [stdout] 215 |                         self.last_auto_move_time=time::now();
[INFO] [stdout]     |                                                        ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:225:56
[INFO] [stdout]     |
[INFO] [stdout] 225 |                         self.last_auto_move_time=time::now();
[INFO] [stdout]     |                                                        ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:235:60
[INFO] [stdout]     |
[INFO] [stdout] 235 | ...                   self.last_auto_move_time=time::now();
[INFO] [stdout]     |                                                      ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:245:64
[INFO] [stdout]     |
[INFO] [stdout] 245 | ...                   self.last_auto_move_time=time::now();
[INFO] [stdout]     |                                                      ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope
[INFO] [stdout]    --> src/main.rs:257:30
[INFO] [stdout]     |
[INFO] [stdout] 257 |     fn game_over(&mut self,r:RenderArgs)->bool{
[INFO] [stdout]     |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  | use piston::RenderArgs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:273:27
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let elapsed=time::now()-self.last_auto_move_time;
[INFO] [stdout]     |                           ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:284:44
[INFO] [stdout]     |
[INFO] [stdout] 284 |             self.last_auto_move_time=time::now();
[INFO] [stdout]     |                                            ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:346:35
[INFO] [stdout]     |
[INFO] [stdout] 346 |         last_auto_move_time:time::now(),
[INFO] [stdout]     |                                   ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout]    --> src/main.rs:353:63
[INFO] [stdout]     |
[INFO] [stdout] 353 |     let ui=&mut conrod::Ui::new(opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap...
[INFO] [stdout]     |                                                               ^^^^^^^^^^ not found in `opengl_graphics::glyph_cache`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 10  | use glyph_cache::rusttype::GlyphCache;
[INFO] [stdout]     |
[INFO] [stdout] 10  | use opengl_graphics::GlyphCache;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:358:19
[INFO] [stdout]     |
[INFO] [stdout] 358 |                 if(app.current_screen=="game_screen"){
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `piston::event`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use piston::event::*;
[INFO] [stdout]    |             ^^^^^ could not find `event` in `piston`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rand::distributions::IndependentSample`, `rand::distributions::Range`
[INFO] [stdout]   --> src/main.rs:15:27
[INFO] [stdout]    |
[INFO] [stdout] 15 | use rand::distributions::{IndependentSample, Range};
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^  ^^^^^ no `Range` in `distributions`
[INFO] [stdout]    |                           |
[INFO] [stdout]    |                           no `IndependentSample` in `distributions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `conrod::Background`, `conrod::Button`, `conrod::CanvasId`, `conrod::DropDownList`, `conrod::Floating`, `conrod::Label`, `conrod::Labelable`, `conrod::Positionable`, `conrod::Sizeable`, `conrod::Theme`, `conrod::Ui`, `conrod::UiId`, `conrod::Widget`, `conrod::WidgetId`, `conrod::Split`
[INFO] [stdout]   --> src/main.rs:18:14
[INFO] [stdout]    |
[INFO] [stdout] 18 | ...::{Background, Button,CanvasId,DropDownList, Floating, Label, Labelable,Positionable, Sizeable, Theme, Ui,UiId, Widget,WidgetId,Split};
[INFO] [stdout]    |       ^^^^^^^^^^  ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^  ^^^^^^^^  ^^^^^  ^^^^^^^^^ ^^^^^^^^^^^^  ^^^^^^^^  ^^^^^  ^^ ^^^^  ^^^^^^ ^^^^^^^^ ^^^^^
[INFO] [stdout]    |       |           |      |        |             |         |      |         |             |         |
[INFO] [stdout]    |       |           |      |        |             |         |      |         |             |         no `Theme` in the root
[INFO] [stdout]    |       |           |      |        |             |         |      |         |             no `Sizeable` in the root
[INFO] [stdout]    |       |           |      |        |             |         |      |         no `Positionable` in the root
[INFO] [stdout]    |       |           |      |        |             |         |      no `Labelable` in the root
[INFO] [stdout]    |       |           |      |        |             |         no `Label` in the root
[INFO] [stdout]    |       |           |      |        |             no `Floating` in the root
[INFO] [stdout]    |       |           |      |        no `DropDownList` in the root
[INFO] [stdout]    |       |           |      no `CanvasId` in the root
[INFO] [stdout]    |       |           no `Button` in the root
[INFO] [stdout]    |       no `Background` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `conrod::color`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use conrod::color::*;
[INFO] [stdout]    |             ^^^^^ could not find `color` in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `postgres::Connection`, `postgres::SslMode`
[INFO] [stdout]   --> src/main.rs:20:16
[INFO] [stdout]    |
[INFO] [stdout] 20 | use postgres::{Connection, SslMode};
[INFO] [stdout]    |                ^^^^^^^^^^  ^^^^^^^ no `SslMode` in the root
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `Connection` in the root
[INFO] [stdout]    |                help: a similar name exists in the module (notice the capitalization): `connection`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout]    --> src/main.rs:106:80
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn render(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>) {
[INFO] [stdout]     |                                                                                ^^^^^^^^^^^ could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout]    --> src/main.rs:116:93
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn render_start_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                                                                             ^^^^^^^^^^^ could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `color` in `conrod`
[INFO] [stdout]    --> src/main.rs:152:40
[INFO] [stdout]     |
[INFO] [stdout] 152 |                         .color(conrod::color::red())
[INFO] [stdout]     |                                        ^^^^^ could not find `color` in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout]    --> src/main.rs:168:97
[INFO] [stdout]     |
[INFO] [stdout] 168 |     fn render_game_over_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                                                                                 ^^^^^^^^^^^ could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `color` in `conrod`
[INFO] [stdout]    --> src/main.rs:185:40
[INFO] [stdout]     |
[INFO] [stdout] 185 |                         .color(conrod::color::red())
[INFO] [stdout]     |                                        ^^^^^ could not find `color` in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Ui` in `conrod`
[INFO] [stdout]    --> src/main.rs:353:25
[INFO] [stdout]     |
[INFO] [stdout] 353 |     let ui=&mut conrod::Ui::new(opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap...
[INFO] [stdout]     |                         ^^ could not find `Ui` in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Theme` in `conrod`
[INFO] [stdout]    --> src/main.rs:353:149
[INFO] [stdout]     |
[INFO] [stdout] 353 | ...gothic-regular-webfont.ttf")).unwrap(),conrod::Theme::default());
[INFO] [stdout]     |                                                   ^^^^^ could not find `Theme` in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Tm` in crate `time`
[INFO] [stdout]   --> src/main.rs:28:31
[INFO] [stdout]    |
[INFO] [stdout] 28 |     last_auto_move_time:time::Tm,
[INFO] [stdout]    |                               ^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope
[INFO] [stdout]   --> src/main.rs:79:38
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn render_game(&mut self, args: &RenderArgs){
[INFO] [stdout]    |                                      ^^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 10 | use piston::RenderArgs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope
[INFO] [stdout]    --> src/main.rs:106:33
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn render(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>) {
[INFO] [stdout]     |                                 ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  | use piston::RenderArgs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ui` in crate `conrod`
[INFO] [stdout]    --> src/main.rs:106:60
[INFO] [stdout]     |
[INFO] [stdout] 106 |     fn render(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>) {
[INFO] [stdout]     |                                                            ^^ not found in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope
[INFO] [stdout]    --> src/main.rs:116:46
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn render_start_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  | use piston::RenderArgs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ui` in crate `conrod`
[INFO] [stdout]    --> src/main.rs:116:73
[INFO] [stdout]     |
[INFO] [stdout] 116 |     fn render_start_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                                                         ^^ not found in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout]    --> src/main.rs:124:56
[INFO] [stdout]     |
[INFO] [stdout] 124 |             let mut font=opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap();
[INFO] [stdout]     |                                                        ^^^^^^^^^^ not found in `opengl_graphics::glyph_cache`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 10  | use glyph_cache::rusttype::GlyphCache;
[INFO] [stdout]     |
[INFO] [stdout] 10  | use opengl_graphics::GlyphCache;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `light_green` in this scope
[INFO] [stdout]    --> src/main.rs:126:42
[INFO] [stdout]     |
[INFO] [stdout] 126 |                 Split::new(HEADER).color(light_green()),
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `blue` in this scope
[INFO] [stdout]    --> src/main.rs:127:40
[INFO] [stdout]     |
[INFO] [stdout] 127 |                 Split::new(BODY).color(blue()).length(window_dimension*0.75).pad_top(20.0),
[INFO] [stdout]     |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `grey` in this scope
[INFO] [stdout]    --> src/main.rs:134:24
[INFO] [stdout]     |
[INFO] [stdout] 134 |                 .color(grey())
[INFO] [stdout]     |                        ^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout] 10  | use color::grey;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `dark_orange` in this scope
[INFO] [stdout]    --> src/main.rs:137:50
[INFO] [stdout]     |
[INFO] [stdout] 137 |             Label::new("Welcome To Snake").color(dark_orange()).font_size(48).middle_of(HEADER).set(TITLE, ui);
[INFO] [stdout]     |                                                  ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `dark_orange` in this scope
[INFO] [stdout]    --> src/main.rs:149:44
[INFO] [stdout]     |
[INFO] [stdout] 149 | ...   Label::new("Difficulty").color(dark_orange()).font_size(24).middle_of(HEADER).mid_left_of(DROPDOWNCONTAINER).set(DROPDOWNLABEL, ui);
[INFO] [stdout]     |                                      ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:158:56
[INFO] [stdout]     |
[INFO] [stdout] 158 | ...                   *last_auto_move_time=time::now();
[INFO] [stdout]     |                                                  ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope
[INFO] [stdout]    --> src/main.rs:168:50
[INFO] [stdout]     |
[INFO] [stdout] 168 |     fn render_game_over_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                                  ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  | use piston::RenderArgs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ui` in crate `conrod`
[INFO] [stdout]    --> src/main.rs:168:77
[INFO] [stdout]     |
[INFO] [stdout] 168 |     fn render_game_over_screen(&mut self, args: &RenderArgs,ui:&mut conrod::Ui<opengl_graphics::glyph_cache::GlyphCache>){
[INFO] [stdout]     |                                                                             ^^ not found in `conrod`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `light_green` in this scope
[INFO] [stdout]    --> src/main.rs:180:42
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 Split::new(HEADER).color(light_green()),
[INFO] [stdout]     |                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `blue` in this scope
[INFO] [stdout]    --> src/main.rs:181:40
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 Split::new(BODY).color(blue()).length(window_dimension*0.75).pad_top(20.0),
[INFO] [stdout]     |                                        ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `red` in this scope
[INFO] [stdout]    --> src/main.rs:183:43
[INFO] [stdout]     |
[INFO] [stdout] 183 |             Label::new("You Lose!").color(red()).font_size(48).middle_of(HEADER).set(TITLE, ui);
[INFO] [stdout]     |                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:192:56
[INFO] [stdout]     |
[INFO] [stdout] 192 | ...                   *last_auto_move_time=time::now();
[INFO] [stdout]     |                                                  ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:215:56
[INFO] [stdout]     |
[INFO] [stdout] 215 |                         self.last_auto_move_time=time::now();
[INFO] [stdout]     |                                                        ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:225:56
[INFO] [stdout]     |
[INFO] [stdout] 225 |                         self.last_auto_move_time=time::now();
[INFO] [stdout]     |                                                        ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:235:60
[INFO] [stdout]     |
[INFO] [stdout] 235 | ...                   self.last_auto_move_time=time::now();
[INFO] [stdout]     |                                                      ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:245:64
[INFO] [stdout]     |
[INFO] [stdout] 245 | ...                   self.last_auto_move_time=time::now();
[INFO] [stdout]     |                                                      ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RenderArgs` in this scope
[INFO] [stdout]    --> src/main.rs:257:30
[INFO] [stdout]     |
[INFO] [stdout] 257 |     fn game_over(&mut self,r:RenderArgs)->bool{
[INFO] [stdout]     |                              ^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]     |
[INFO] [stdout] 10  | use piston::RenderArgs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:273:27
[INFO] [stdout]     |
[INFO] [stdout] 273 |         let elapsed=time::now()-self.last_auto_move_time;
[INFO] [stdout]     |                           ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:284:44
[INFO] [stdout]     |
[INFO] [stdout] 284 |             self.last_auto_move_time=time::now();
[INFO] [stdout]     |                                            ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `now` in crate `time`
[INFO] [stdout]    --> src/main.rs:346:35
[INFO] [stdout]     |
[INFO] [stdout] 346 |         last_auto_move_time:time::now(),
[INFO] [stdout]     |                                   ^^^ not found in `time`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `glyph_cache` in `opengl_graphics`
[INFO] [stdout]    --> src/main.rs:353:63
[INFO] [stdout]     |
[INFO] [stdout] 353 |     let ui=&mut conrod::Ui::new(opengl_graphics::glyph_cache::GlyphCache::new(Path::new("fonts/leaguegothic-regular-webfont.ttf")).unwrap...
[INFO] [stdout]     |                                                               ^^^^^^^^^^ not found in `opengl_graphics::glyph_cache`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 10  | use glyph_cache::rusttype::GlyphCache;
[INFO] [stdout]     |
[INFO] [stdout] 10  | use opengl_graphics::GlyphCache;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:358:19
[INFO] [stdout]     |
[INFO] [stdout] 358 |                 if(app.current_screen=="game_screen"){
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `_3_2` found for enum `OpenGL` in the current scope
[INFO] [stdout]    --> src/main.rs:321:26
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let opengl = OpenGL::_3_2;
[INFO] [stdout]     |                          ^^^^
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          variant or associated item not found in `OpenGL`
[INFO] [stdout]     |                          help: there is a variant with a similar name: `V3_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `opengl` found for struct `WindowSettings` in the current scope
[INFO] [stdout]    --> src/main.rs:331:10
[INFO] [stdout]     |
[INFO] [stdout] 331 |         .opengl(opengl)
[INFO] [stdout]     |          ^^^^^^ method not found in `WindowSettings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `events` found for enum `std::result::Result<GlutinWindow, Box<dyn std::error::Error>>` in the current scope
[INFO] [stdout]    --> src/main.rs:354:21
[INFO] [stdout]     |
[INFO] [stdout] 354 |     for e in window.events() {
[INFO] [stdout]     |                     ^^^^^^ method not found in `std::result::Result<GlutinWindow, Box<dyn std::error::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 43 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `first_piston`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0599]: no variant or associated item named `_3_2` found for enum `OpenGL` in the current scope
[INFO] [stdout]    --> src/main.rs:321:26
[INFO] [stdout]     |
[INFO] [stdout] 321 |     let opengl = OpenGL::_3_2;
[INFO] [stdout]     |                          ^^^^
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          variant or associated item not found in `OpenGL`
[INFO] [stdout]     |                          help: there is a variant with a similar name: `V3_2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `opengl` found for struct `WindowSettings` in the current scope
[INFO] [stdout]    --> src/main.rs:331:10
[INFO] [stdout]     |
[INFO] [stdout] 331 |         .opengl(opengl)
[INFO] [stdout]     |          ^^^^^^ method not found in `WindowSettings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `events` found for enum `std::result::Result<GlutinWindow, Box<dyn std::error::Error>>` in the current scope
[INFO] [stdout]    --> src/main.rs:354:21
[INFO] [stdout]     |
[INFO] [stdout] 354 |     for e in window.events() {
[INFO] [stdout]     |                     ^^^^^^ method not found in `std::result::Result<GlutinWindow, Box<dyn std::error::Error>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 43 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "bb7e81fca56dedbccc8fd20fbb54cd1c7f7f163bac208f26e3bce609a934ed6e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb7e81fca56dedbccc8fd20fbb54cd1c7f7f163bac208f26e3bce609a934ed6e", kill_on_drop: false }`
[INFO] [stdout] bb7e81fca56dedbccc8fd20fbb54cd1c7f7f163bac208f26e3bce609a934ed6e
